<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-28 01:51:14
 * @lastTime 2020-05-01 23:13:54
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */
namespace Test\Unit;

use Design\Behavioral\Mediator\UI;
use Design\Behavioral\Mediator\UserRepostory;
use Design\Behavioral\Mediator\UserRepostoryUIMediator;

class MediatorTest extends \Test\BaseTest
{


    public function testMediator()
    {
        $mediator = new UserRepostoryUIMediator(new UserRepostory(), new UI());

        $this->expectOutputString('User: ryu');
        $mediator->printInfoAbout('ryu');

    }//end testMediator()


}//end class
